#ifndef __TCP_CLIENT_H__
#define __TCP_CLIENT_H__
#include<string>
#include"IpAddressPort.h"


class IpAddressPort;
class Msg;

class TcpClient
{
private:
    int m_msfd;
public:
    TcpClient(const IpAddressPort& ipAddressAndPort);
    ~TcpClient();
    int SendMsg(const std::string&msfd);
    Msg RecvMsg();
    int GetSfd()const;
};


#endif